/**
 * ILinksPersistenceService.java 上午11:12:48 2012-5-2
 * Cyber Information Technology Co.,Ltd.
 *   
 *   http://www.citchina.cn
 *   citchina.org@gmail.com
 */
package cn.cit.wcif.links.api.persistence;

import java.util.List;

import org.springframework.stereotype.Repository;

/**
 * @author Jonathan
 * @version 1.0
 * 
 */
@Repository
public interface ILinksPersistenceService {
	ILinksEntity persistLinks(ILinksEntity entity);

	ILinksEntity mergeLinks(ILinksEntity entity);

	ILinksEntity findLinksByID(long id);

	List<ILinksEntity> findLinksByLang(String lang);

	List<ILinksEntity> pageLinkss(int pageSize, int perPage);
}
